home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-06-18 | 1.5 KB | 92 lines |
- #
- # makefile for the PHIGS Toolkit library.
- # J.G. Williams 14/12/90
- #
-
- CC = cc
-
- OBJECTS = tran.o hash.o plib.o cns.o menu.o phin.o topo.o \
- stct.o misc.o tsl.o wind.o dbug.o view.o
-
- SRCDIR = ../source/library/
-
- #DBG = -g
- DBG =
-
- PHIGSINCDIR = $(PHIGSHOME)/include/phigs
-
- CFLAGS = $(DBG) -DSUN -I../include \
- -I$(PHIGSINCDIR) -I$(OPENWINHOME)/include
-
- libptk.a: libptk.a($(OBJECTS))
- ar rv $@ $?
- ranlib $@
-
- libptk.a(tran.o): tran.o
-
- tran.o: $(SRCDIR)tran.c
- $(COMPILE.c) $(SRCDIR)tran.c
-
- libptk.a(hash.o): hash.o
-
- hash.o: $(SRCDIR)hash.c
- $(COMPILE.c) $(SRCDIR)hash.c
-
- libptk.a(plib.o): plib.o
-
- plib.o: $(SRCDIR)plib.c
- $(COMPILE.c) $(SRCDIR)plib.c
-
- libptk.a(cns.o): cns.o
-
- cns.o: $(SRCDIR)cns.c
- $(COMPILE.c) $(SRCDIR)cns.c
-
- libptk.a(menu.o): menu.o
-
- menu.o: $(SRCDIR)menu.c
- $(COMPILE.c) $(SRCDIR)menu.c
-
- libptk.a(phin.o): phin.o
-
- phin.o: $(SRCDIR)phin.c
- $(COMPILE.c) $(SRCDIR)phin.c
-
- libptk.a(topo.o): topo.o
-
- topo.o: $(SRCDIR)topo.c
- $(COMPILE.c) $(SRCDIR)topo.c
-
- libptk.a(stct.o): stct.o
-
- stct.o: $(SRCDIR)stct.c
- $(COMPILE.c) $(SRCDIR)stct.c
-
- libptk.a(misc.o): misc.o
-
- misc.o: $(SRCDIR)misc.c
- $(COMPILE.c) $(SRCDIR)misc.c
-
- libptk.a(tsl.o): tsl.o
-
- tsl.o: $(SRCDIR)tsl.c
- $(COMPILE.c) $(SRCDIR)tsl.c
-
- libptk.a(wind.o): wind.o
-
- wind.o: $(SRCDIR)wind.c
- $(COMPILE.c) $(SRCDIR)wind.c
-
- libptk.a(dbug.o): dbug.o
-
- dbug.o: $(SRCDIR)dbug.c
- $(COMPILE.c) $(SRCDIR)dbug.c
-
- libptk.a(view.o): view.o
-
- view.o: $(SRCDIR)view.c
- $(COMPILE.c) $(SRCDIR)view.c
-
- clean:
- rm -f $(OBJECTS)
-